.class public abstract Lcom/renren/api/connect/android/common/RequestParam;
.super Ljava/lang/Object;
.source "RequestParam.java"


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 20
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public varargs checkNullParams([Ljava/lang/String;)V
    .locals 5
    .parameter "params"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/renren/api/connect/android/exception/RenrenException;
        }
    .end annotation

    .prologue
    .line 26
    array-length v3, p1

    const/4 v2, 0x0

    :goto_0
    if-lt v2, v3, :cond_0

    .line 35
    return-void

    .line 26
    :cond_0
    aget-object v1, p1, v2

    .line 27
    .local v1, param:Ljava/lang/String;
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 28
    const-string v0, "required parameter MUST NOT be null"

    .line 29
    .local v0, errorMsg:Ljava/lang/String;
    new-instance v2, Lcom/renren/api/connect/android/exception/RenrenException;

    .line 30
    const/4 v3, -0x1

    .line 29
    invoke-direct {v2, v3, v0, v0}, Lcom/renren/api/connect/android/exception/RenrenException;-><init>(ILjava/lang/String;Ljava/lang/String;)V

    throw v2

    .line 26
    .end local v0           #errorMsg:Ljava/lang/String;
    :cond_1
    add-int/lit8 v2, v2, 0x1

    goto :goto_0
.end method

.method public abstract getParams()Landroid/os/Bundle;
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/renren/api/connect/android/exception/RenrenException;
        }
    .end annotation
.end method
